/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        z-index: 100;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .thinking-options {
        flex-wrap: wrap;
    }
    
    .docs-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 16px;
        gap: 16px;
    }
    
    .kb-selector-container {
        justify-content: flex-start;
        margin-bottom: 5px;
    }
    
    .kb-selector-compact {
        max-width: 150px;
    }
}

@media (max-width: 640px) {
    .docs-list {
        grid-template-columns: 1fr;
    }
    
    .doc-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .attached-files {
        padding: 10px;
    }
    
    .file-prompt {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .thinking-options {
        gap: 8px;
    }
    
    .message-input-wrapper {
        padding: 8px;
    }
    
    #user-input {
        padding: 6px;
    }
    
    .action-btn, .send-btn {
        width: 32px;
        height: 32px;
    }
    
    .send-btn i {
        font-size: 20px;
    }
} 